package com.huawei.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author wujinpeng
 * @version 1.0
 * @date 2025/2/2 21:24
 * @description
 */
@Data
public class Test {

    private String id;

    private String test1;

    private String test2;

    @JsonFormat
    private LocalDateTime createTime;

    @JsonSerialize(using = ToStringSerializer.class)
    private LocalDateTime updateTime;
}
